using System;
using System.Collections.Generic;
using FairyGUI;
namespace Wwo
{
    public class LoadWorldView : Window
    {
        public LoadWorldView()
        {
        }

        protected override void OnInit()
        {
            this.contentPane = UIPackage.CreateObject("WaterWorld", "LoadWorld").asCom;
            this.Center();

            GComponent returnBtn = this.contentPane.GetChild("Close").asCom;
            returnBtn.onClick.Add(() =>
            {
                UISets.GetInstance().OnlyShow(UISets.GetInstance().m_GameLoginView);
            });
        }

        override protected void OnShown()
        {
        }
    }
}